import baseUrl from './base-url'
export default function getAvatar(data) {
  return (data || '').startsWith('data:image/jpeg;base64') ? data : baseUrl + data
}
